
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>你所知道的微服务技术栈都有哪些？ · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="huifer-micro-service-governance.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">高并发架构</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../high-concurrent/mq-interview.html">
            
                <a href="../high-concurrent/mq-interview.html">
            
                    
                    消息队列
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../high-concurrent/why-mq.html">
            
                <a href="../high-concurrent/why-mq.html">
            
                    
                    为什么使用消息队列？消息队列有什么优点和缺点？Kafka、ActiveMQ、RabbitMQ、RocketMQ 都有什么优点和缺点？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../high-concurrent/how-to-ensure-high-availability-of-message-queues.html">
            
                <a href="../high-concurrent/how-to-ensure-high-availability-of-message-queues.html">
            
                    
                    如何保证消息队列的高可用？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../high-concurrent/how-to-ensure-that-messages-are-not-repeatedly-consumed.html">
            
                <a href="../high-concurrent/how-to-ensure-that-messages-are-not-repeatedly-consumed.html">
            
                    
                    如何保证消息不被重复消费？（如何保证消息消费的幂等性）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4" data-path="../high-concurrent/how-to-ensure-the-reliable-transmission-of-messages.html">
            
                <a href="../high-concurrent/how-to-ensure-the-reliable-transmission-of-messages.html">
            
                    
                    如何保证消息的可靠性传输？（如何处理消息丢失的问题）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="../high-concurrent/how-to-ensure-the-order-of-messages.html">
            
                <a href="../high-concurrent/how-to-ensure-the-order-of-messages.html">
            
                    
                    如何保证消息的顺序性？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="../high-concurrent/mq-time-delay-and-expired-failure.html">
            
                <a href="../high-concurrent/mq-time-delay-and-expired-failure.html">
            
                    
                    如何解决消息队列的延时以及过期失效问题？消息队列满了以后该怎么处理？有几百万消息持续积压几小时，说说怎么解决？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.7" data-path="../high-concurrent/mq-design.html">
            
                <a href="../high-concurrent/mq-design.html">
            
                    
                    如果让你写一个消息队列，该如何进行架构设计啊？说一下你的思路。
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../high-concurrent/es-introduction.html">
            
                <a href="../high-concurrent/es-introduction.html">
            
                    
                    搜索引擎
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="../high-concurrent/es-architecture.html">
            
                <a href="../high-concurrent/es-architecture.html">
            
                    
                    es 的分布式架构原理能说一下么（es 是如何实现分布式的啊）？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="../high-concurrent/es-write-query-search.html">
            
                <a href="../high-concurrent/es-write-query-search.html">
            
                    
                    es 写入数据的工作原理是什么啊？es 查询数据的工作原理是什么啊？底层的 lucene 介绍一下呗？倒排索引了解吗？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="../high-concurrent/es-optimizing-query-performance.html">
            
                <a href="../high-concurrent/es-optimizing-query-performance.html">
            
                    
                    es 在数据量很大的情况下（数十亿级别）如何提高查询效率啊？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="../high-concurrent/es-production-cluster.html">
            
                <a href="../high-concurrent/es-production-cluster.html">
            
                    
                    es 生产集群的部署架构是什么？每个索引的数据量大概有多少？每个索引大概有多少个分片？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" >
            
                <span>
            
                    
                    缓存
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="../high-concurrent/why-cache.html">
            
                <a href="../high-concurrent/why-cache.html">
            
                    
                    在项目中缓存是如何使用的？缓存如果使用不当会造成什么后果？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="../high-concurrent/redis-single-thread-model.html">
            
                <a href="../high-concurrent/redis-single-thread-model.html">
            
                    
                    Redis 和 Memcached 有什么区别？Redis 的线程模型是什么？为什么单线程的 Redis 比多线程的 Memcached 效率要高得多？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="../high-concurrent/redis-data-types.html">
            
                <a href="../high-concurrent/redis-data-types.html">
            
                    
                    Redis 都有哪些数据类型？分别在哪些场景下使用比较合适？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.4" data-path="../high-concurrent/redis-expiration-policies-and-lru.html">
            
                <a href="../high-concurrent/redis-expiration-policies-and-lru.html">
            
                    
                    Redis 的过期策略都有哪些？手写一下 LRU 代码实现？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="../high-concurrent/how-to-ensure-high-concurrent-and-high-availability-of-redis.html">
            
                <a href="../high-concurrent/how-to-ensure-high-concurrent-and-high-availability-of-redis.html">
            
                    
                    如何保证 Redis 高并发、高可用？Redis 的主从复制原理能介绍一下么？Redis 的哨兵原理能介绍一下么？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.6" data-path="../high-concurrent/redis-persistence.html">
            
                <a href="../high-concurrent/redis-persistence.html">
            
                    
                    Redis 的持久化有哪几种方式？不同的持久化机制都有什么优缺点？持久化机制具体底层是如何实现的？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.7" data-path="../high-concurrent/redis-cluster.html">
            
                <a href="../high-concurrent/redis-cluster.html">
            
                    
                    Redis 集群模式的工作原理能说一下么？在集群模式下，Redis 的 key 是如何寻址的？分布式寻址都有哪些算法？了解一致性 hash 算法吗？如何动态增加和删除一个节点？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.8" data-path="../high-concurrent/redis-caching-avalanche-and-caching-penetration.html">
            
                <a href="../high-concurrent/redis-caching-avalanche-and-caching-penetration.html">
            
                    
                    了解什么是 redis 的雪崩、穿透和击穿？Redis 崩溃之后会怎么样？系统该如何应对这种情况？如何处理 Redis 的穿透？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.9" data-path="../high-concurrent/redis-consistence.html">
            
                <a href="../high-concurrent/redis-consistence.html">
            
                    
                    如何保证缓存与数据库的双写一致性？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.10" data-path="../high-concurrent/redis-cas.html">
            
                <a href="../high-concurrent/redis-cas.html">
            
                    
                    Redis 的并发竞争问题是什么？如何解决这个问题？了解 Redis 事务的 CAS 方案吗？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.11" data-path="../high-concurrent/redis-production-environment.html">
            
                <a href="../high-concurrent/redis-production-environment.html">
            
                    
                    生产环境中的 Redis 是怎么部署的？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" >
            
                <span>
            
                    
                    分库分表
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="../high-concurrent/database-shard.html">
            
                <a href="../high-concurrent/database-shard.html">
            
                    
                    为什么要分库分表（设计高并发系统的时候，数据库层面该如何设计）？用过哪些分库分表中间件？不同的分库分表中间件都有什么优点和缺点？你们具体是如何对数据库如何进行垂直拆分或水平拆分的？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="../high-concurrent/database-shard-method.html">
            
                <a href="../high-concurrent/database-shard-method.html">
            
                    
                    现在有一个未分库分表的系统，未来要分库分表，如何设计才可以让系统从未分库分表动态切换到分库分表上？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="../high-concurrent/database-shard-dynamic-expand.html">
            
                <a href="../high-concurrent/database-shard-dynamic-expand.html">
            
                    
                    如何设计可以动态扩容缩容的分库分表方案？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="../high-concurrent/database-shard-global-id-generate.html">
            
                <a href="../high-concurrent/database-shard-global-id-generate.html">
            
                    
                    分库分表之后，id 主键如何处理？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" >
            
                <span>
            
                    
                    读写分离
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="../high-concurrent/mysql-read-write-separation.html">
            
                <a href="../high-concurrent/mysql-read-write-separation.html">
            
                    
                    如何实现 MySQL 的读写分离？MySQL 主从复制原理是啥？如何解决 MySQL 主从同步的延时问题？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" >
            
                <span>
            
                    
                    高并发系统
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" data-path="../high-concurrent/high-concurrent-design.html">
            
                <a href="../high-concurrent/high-concurrent-design.html">
            
                    
                    如何设计一个高并发系统？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">分布式系统</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../distributed-system/distributed-system-interview.html">
            
                <a href="../distributed-system/distributed-system-interview.html">
            
                    
                    面试连环炮
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" >
            
                <span>
            
                    
                    系统拆分
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.2.1" data-path="../distributed-system/why-dubbo.html">
            
                <a href="../distributed-system/why-dubbo.html">
            
                    
                    为什么要进行系统拆分？如何进行系统拆分？拆分后不用 Dubbo 可以吗？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3" >
            
                <span>
            
                    
                    分布式服务框架
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.3.1" data-path="../distributed-system/dubbo-operating-principle.html">
            
                <a href="../distributed-system/dubbo-operating-principle.html">
            
                    
                    说一下 Dubbo 的工作原理？注册中心挂了可以继续通信吗？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.2" data-path="../distributed-system/dubbo-serialization-protocol.html">
            
                <a href="../distributed-system/dubbo-serialization-protocol.html">
            
                    
                    Dubbo 支持哪些序列化协议？说一下 Hessian 的数据结构？PB 知道吗？为什么 PB 的效率是最高的？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.3" data-path="../distributed-system/dubbo-load-balancing.html">
            
                <a href="../distributed-system/dubbo-load-balancing.html">
            
                    
                    Dubbo 负载均衡策略和集群容错策略都有哪些？动态代理策略呢？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.4" data-path="../distributed-system/dubbo-spi.html">
            
                <a href="../distributed-system/dubbo-spi.html">
            
                    
                    Dubbo 的 spi 思想是什么？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.5" data-path="../distributed-system/dubbo-service-management.html">
            
                <a href="../distributed-system/dubbo-service-management.html">
            
                    
                    如何基于 Dubbo 进行服务治理、服务降级、失败重试以及超时重试？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.6" data-path="../distributed-system/distributed-system-idempotency.html">
            
                <a href="../distributed-system/distributed-system-idempotency.html">
            
                    
                    分布式服务接口的幂等性如何设计（比如不能重复扣款）？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.7" data-path="../distributed-system/distributed-system-request-sequence.html">
            
                <a href="../distributed-system/distributed-system-request-sequence.html">
            
                    
                    分布式服务接口请求的顺序性如何保证？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.8" data-path="../distributed-system/dubbo-rpc-design.html">
            
                <a href="../distributed-system/dubbo-rpc-design.html">
            
                    
                    如何自己设计一个类似 Dubbo 的 RPC 框架？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.4" >
            
                <span>
            
                    
                    分布式锁
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.4.1" data-path="../distributed-system/zookeeper-application-scenarios.html">
            
                <a href="../distributed-system/zookeeper-application-scenarios.html">
            
                    
                    Zookeeper 都有哪些应用场景？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4.2" data-path="../distributed-system/distributed-lock-redis-vs-zookeeper.html">
            
                <a href="../distributed-system/distributed-lock-redis-vs-zookeeper.html">
            
                    
                    使用 Redis 如何设计分布式锁？使用 Zookeeper 来设计分布式锁可以吗？以上两种分布式锁的实现方式哪种效率比较高？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.5" >
            
                <span>
            
                    
                    分布式事务
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.5.1" data-path="../distributed-system/distributed-transaction.html">
            
                <a href="../distributed-system/distributed-transaction.html">
            
                    
                    分布式事务了解吗？你们如何解决分布式事务问题的？TCC 如果出现网络连不通怎么办？XA 的一致性如何保证？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.6" >
            
                <span>
            
                    
                    分布式会话
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.6.1" data-path="../distributed-system/distributed-session.html">
            
                <a href="../distributed-system/distributed-session.html">
            
                    
                    集群部署时的分布式 Session 如何实现？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="../high-availability/hystrix-introduction.html">
            
                <a href="../high-availability/hystrix-introduction.html">
            
                    
                    Hystrix 介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="../high-availability/e-commerce-website-detail-page-architecture.html">
            
                <a href="../high-availability/e-commerce-website-detail-page-architecture.html">
            
                    
                    电商网站详情页系统架构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.9" data-path="../high-availability/hystrix-thread-pool-isolation.html">
            
                <a href="../high-availability/hystrix-thread-pool-isolation.html">
            
                    
                    Hystrix 线程池技术实现资源隔离
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.10" data-path="../high-availability/hystrix-semphore-isolation.html">
            
                <a href="../high-availability/hystrix-semphore-isolation.html">
            
                    
                    Hystrix 信号量机制实现资源隔离
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.11" data-path="../high-availability/hystrix-execution-isolation.html">
            
                <a href="../high-availability/hystrix-execution-isolation.html">
            
                    
                    Hystrix 隔离策略细粒度控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.12" data-path="../high-availability/hystrix-process.html">
            
                <a href="../high-availability/hystrix-process.html">
            
                    
                    深入 Hystrix 执行时内部原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.13" data-path="../high-availability/hystrix-request-cache.html">
            
                <a href="../high-availability/hystrix-request-cache.html">
            
                    
                    基于 request cache 请求缓存技术优化批量商品数据查询接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.14" data-path="../high-availability/hystrix-fallback.html">
            
                <a href="../high-availability/hystrix-fallback.html">
            
                    
                    基于本地缓存的 fallback 降级机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.15" data-path="../high-availability/hystrix-circuit-breaker.html">
            
                <a href="../high-availability/hystrix-circuit-breaker.html">
            
                    
                    深入 Hystrix 断路器执行原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.16" data-path="../high-availability/hystrix-thread-pool-current-limiting.html">
            
                <a href="../high-availability/hystrix-thread-pool-current-limiting.html">
            
                    
                    深入 Hystrix 线程池隔离与接口限流
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.17" data-path="../high-availability/hystrix-timeout.html">
            
                <a href="../high-availability/hystrix-timeout.html">
            
                    
                    基于 timeout 机制为服务接口调用超时提供安全保护
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.18" >
            
                <span>
            
                    
                    高可用系统
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.18.1" >
            
                <span>
            
                    
                    如何设计一个高可用系统？
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.19" >
            
                <span>
            
                    
                    限流
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.19.1" data-path="../high-concurrent/huifer-how-to-limit-current.html">
            
                <a href="../high-concurrent/huifer-how-to-limit-current.html">
            
                    
                    如何限流？在工作中是怎么做的？说一下具体的实现？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.20" >
            
                <span>
            
                    
                    熔断
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.20.1" >
            
                <span>
            
                    
                    如何进行熔断？
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="3.20.2" >
            
                <span>
            
                    
                    熔断框架都有哪些？具体实现原理知道吗？
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="3.20.3" data-path="../high-availability/sentinel-vs-hystrix.html">
            
                <a href="../high-availability/sentinel-vs-hystrix.html">
            
                    
                    熔断框架如何做技术选型？选用 Sentinel 还是 Hystrix？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.21" >
            
                <span>
            
                    
                    降级
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.21.1" >
            
                <span>
            
                    
                    如何进行降级？
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">微服务架构</li>
        
        
    
        <li class="chapter " data-level="4.1" >
            
                <a target="_blank" href="https://github.com/doocs/advanced-java">
            
                    
                    微服务架构整个章节内容属额外新增，后续抽空更新，也欢迎读者们参与补充完善
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="microservices-introduction.html">
            
                <a href="microservices-introduction.html">
            
                    
                    关于微服务架构的描述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="migrating-from-a-monolithic-architecture-to-a-microservices-architecture.html">
            
                <a href="migrating-from-a-monolithic-architecture-to-a-microservices-architecture.html">
            
                    
                    从单体式架构迁移到微服务架构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="event-driven-data-management-for-microservices.html">
            
                <a href="event-driven-data-management-for-microservices.html">
            
                    
                    微服务的事件驱动数据管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" data-path="choose-microservice-deployment-strategy.html">
            
                <a href="choose-microservice-deployment-strategy.html">
            
                    
                    选择微服务部署策略
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Spring Cloud 微服务架构</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="huifer-what's-microservice-how-to-communicate.html">
            
                <a href="huifer-what's-microservice-how-to-communicate.html">
            
                    
                    什么是微服务？微服务之间是如何独立通讯的？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" >
            
                <span>
            
                    
                    Spring Cloud 和 Dubbo 有哪些区别？
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" >
            
                <span>
            
                    
                    Spring Boot 和 Spring Cloud，谈谈你对它们的理解？
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" >
            
                <span>
            
                    
                    什么是服务熔断？什么是服务降级？
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="5.5" >
            
                <span>
            
                    
                    微服务的优缺点分别是什么？说一下你在项目开发中碰到的坑？
            
                </span>
            

            
        </li>
    
        <li class="chapter active" data-level="5.6" data-path="huifer-micro-services-technology-stack.html">
            
                <a href="huifer-micro-services-technology-stack.html">
            
                    
                    你所知道的微服务技术栈都有哪些？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7" data-path="huifer-micro-service-governance.html">
            
                <a href="huifer-micro-service-governance.html">
            
                    
                    微服务治理策略
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.8" >
            
                <span>
            
                    
                    Eureka 和 Zookeeper 都可以提供服务注册与发现的功能，它们有什么区别？
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="5.9" >
            
                <span>
            
                    
                    ......
            
                </span>
            

            
        </li>
    

    
        
        <li class="header">海量数据处理</li>
        
        
    
        <li class="chapter " data-level="6.1" data-path="../big-data/find-common-urls.html">
            
                <a href="../big-data/find-common-urls.html">
            
                    
                    如何从大量的 URL 中找出相同的 URL？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2" data-path="../big-data/find-top-100-words.html">
            
                <a href="../big-data/find-top-100-words.html">
            
                    
                    如何从大量数据中找出高频词？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3" data-path="../big-data/find-top-1-ip.html">
            
                <a href="../big-data/find-top-1-ip.html">
            
                    
                    如何找出某一天访问百度网站最多的 IP？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.4" data-path="../big-data/find-no-repeat-number.html">
            
                <a href="../big-data/find-no-repeat-number.html">
            
                    
                    如何在大量的数据中找出不重复的整数？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.5" data-path="../big-data/find-a-number-if-exists.html">
            
                <a href="../big-data/find-a-number-if-exists.html">
            
                    
                    如何在大量的数据中判断一个数是否存在？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.6" data-path="../big-data/find-hotest-query-string.html">
            
                <a href="../big-data/find-hotest-query-string.html">
            
                    
                    如何查询最热门的查询串？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.7" data-path="../big-data/count-different-phone-numbers.html">
            
                <a href="../big-data/count-different-phone-numbers.html">
            
                    
                    如何统计不同电话号码的个数？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.8" data-path="../big-data/find-mid-value-in-500-millions.html">
            
                <a href="../big-data/find-mid-value-in-500-millions.html">
            
                    
                    如何从 5 亿个数中找出中位数？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.9" data-path="../big-data/sort-the-query-strings-by-counts.html">
            
                <a href="../big-data/sort-the-query-strings-by-counts.html">
            
                    
                    如何按照 query 的频度排序？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.10" data-path="../big-data/find-rank-top-500-numbers.html">
            
                <a href="../big-data/find-rank-top-500-numbers.html">
            
                    
                    如何找出排名前 500 的数？
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >你所知道的微服务技术栈都有哪些？</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5FAE;&#x670D;&#x52A1;&#x6280;&#x672F;&#x6808;">&#x5FAE;&#x670D;&#x52A1;&#x6280;&#x672F;&#x6808;</h1>
<ul>
<li>Author: <a href="https://github.com/huifer" target="_blank">HuiFer</a></li>
<li>Description: &#x8BE5;&#x6587;&#x7B80;&#x5355;&#x4ECB;&#x7ECD;&#x5FAE;&#x670D;&#x52A1;&#x6280;&#x672F;&#x6808;&#x6709;&#x54EA;&#x4E9B;&#x5206;&#x522B;&#x7528;&#x6765;&#x505A;&#x4EC0;&#x4E48;</li>
</ul>
<h2 id="&#x6280;&#x672F;&#x6808;">&#x6280;&#x672F;&#x6808;</h2>
<h3 id="&#x5FAE;&#x670D;&#x52A1;&#x5F00;&#x53D1;">&#x5FAE;&#x670D;&#x52A1;&#x5F00;&#x53D1;</h3>
<p>&#x4F5C;&#x7528;&#xFF1A;&#x5FEB;&#x901F;&#x5F00;&#x53D1;&#x670D;&#x52A1;&#x3002;</p>
<ul>
<li>Spring</li>
<li>SpringMvc</li>
<li>SpringBoot</li>
</ul>
<p><a href="https://spring.io/" target="_blank">&#x5B98;&#x7F51;</a>&#xFF0C;Spring &#x76EE;&#x524D;&#x662F; JavaWeb &#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x5FC5;&#x4E0D;&#x53EF;&#x5C11;&#x7684;&#x4E00;&#x4E2A;&#x6846;&#x67B6;&#xFF0C;SpringBoot &#x7B80;&#x5316;&#x4E86; Spring &#x5F00;&#x53D1;&#x7684;&#x914D;&#x7F6E;&#x76EE;&#x524D;&#x4E5F;&#x662F;&#x4E1A;&#x5185;&#x4E3B;&#x6D41;&#x5F00;&#x53D1;&#x6846;&#x67B6;&#x3002;</p>
<h3 id="&#x5FAE;&#x670D;&#x52A1;&#x6CE8;&#x518C;&#x53D1;&#x73B0;">&#x5FAE;&#x670D;&#x52A1;&#x6CE8;&#x518C;&#x53D1;&#x73B0;</h3>
<p>&#x4F5C;&#x7528;&#xFF1A;&#x53D1;&#x73B0;&#x670D;&#x52A1;&#xFF0C;&#x6CE8;&#x518C;&#x670D;&#x52A1;&#xFF0C;&#x96C6;&#x4E2D;&#x7BA1;&#x7406;&#x670D;&#x52A1;</p>
<h4 id="eureka">Eureka</h4>
<ul>
<li>Eureka Server : &#x63D0;&#x4F9B;&#x670D;&#x52A1;&#x6CE8;&#x518C;&#x670D;&#x52A1;,&#x5404;&#x4E2A;&#x8282;&#x70B9;&#x542F;&#x52A8;&#x540E;&#xFF0C;&#x4F1A;&#x5728; Eureka Server &#x4E2D;&#x8FDB;&#x884C;&#x6CE8;&#x518C;&#x3002;</li>
<li>Eureka Client : &#x7B80;&#x5316;&#x4E0E; Eureka Server &#x7684;&#x4EA4;&#x4E92;&#x64CD;&#x4F5C;</li>
<li>Spring Cloud Netflix : <a href="https://github.com/spring-cloud/spring-cloud-netflix" target="_blank">GitHub</a>&#xFF0C;<a href="https://cloud.spring.io/spring-cloud-netflix/reference/html/" target="_blank">&#x6587;&#x6863;</a></li>
</ul>
<h4 id="zookeeper">Zookeeper</h4>
<blockquote>
<p>ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.</p>
</blockquote>
<p><a href="https://github.com/apache/zookeeper" target="_blank">Zookeeper</a> &#x662F;&#x4E00;&#x4E2A;&#x96C6;&#x4E2D;&#x7684;&#x670D;&#x52A1;,&#x7528;&#x4E8E;&#x7EF4;&#x62A4;&#x914D;&#x7F6E;&#x4FE1;&#x606F;&#x3001;&#x547D;&#x540D;&#x3001;&#x63D0;&#x4F9B;&#x5206;&#x5E03;&#x5F0F;&#x540C;&#x6B65;&#x548C;&#x63D0;&#x4F9B;&#x7EC4;&#x670D;&#x52A1;&#x3002;</p>
<h4 id="zookeeper-&#x548C;-eureka-&#x533A;&#x522B;">Zookeeper &#x548C; Eureka &#x533A;&#x522B;</h4>
<p>Zookeeper &#x4FDD;&#x8BC1; CP&#xFF0C;Eureka &#x4FDD;&#x8BC1; AP&#xFF1A;</p>
<ul>
<li>C&#xFF1A;&#x6570;&#x636E;&#x4E00;&#x81F4;&#x6027;&#xFF1B;</li>
<li>A&#xFF1A;&#x670D;&#x52A1;&#x53EF;&#x7528;&#x6027;&#xFF1B;</li>
<li>P&#xFF1A;&#x670D;&#x52A1;&#x5BF9;&#x7F51;&#x7EDC;&#x5206;&#x533A;&#x6545;&#x969C;&#x7684;&#x5BB9;&#x9519;&#x6027;&#xFF0C;&#x8FD9;&#x4E09;&#x4E2A;&#x7279;&#x6027;&#x5728;&#x4EFB;&#x4F55;&#x5206;&#x5E03;&#x5F0F;&#x7CFB;&#x7EDF;&#x4E2D;&#x4E0D;&#x80FD;&#x540C;&#x65F6;&#x6EE1;&#x8DB3;&#xFF0C;&#x6700;&#x591A;&#x540C;&#x65F6;&#x6EE1;&#x8DB3;&#x4E24;&#x4E2A;&#x3002;</li>
</ul>
<h3 id="&#x5FAE;&#x670D;&#x52A1;&#x914D;&#x7F6E;&#x7BA1;&#x7406;">&#x5FAE;&#x670D;&#x52A1;&#x914D;&#x7F6E;&#x7BA1;&#x7406;</h3>
<p>&#x4F5C;&#x7528;&#xFF1A;&#x7EDF;&#x4E00;&#x7BA1;&#x7406;&#x4E00;&#x4E2A;&#x6216;&#x591A;&#x4E2A;&#x670D;&#x52A1;&#x7684;&#x914D;&#x7F6E;&#x4FE1;&#x606F;,&#x96C6;&#x4E2D;&#x7BA1;&#x7406;&#x3002;</p>
<h4 id="disconf">Disconf</h4>
<p>Distributed Configuration Management Platform(&#x5206;&#x5E03;&#x5F0F;&#x914D;&#x7F6E;&#x7BA1;&#x7406;&#x5E73;&#x53F0;) ,&#x5B83;&#x662F;&#x4E13;&#x6CE8;&#x4E8E;&#x5404;&#x79CD;&#x5206;&#x5E03;&#x5F0F;&#x7CFB;&#x7EDF;&#x914D;&#x7F6E;&#x7BA1;&#x7406; &#x7684;&#x901A;&#x7528;&#x7EC4;&#x4EF6;/&#x901A;&#x7528;&#x5E73;&#x53F0;, &#x63D0;&#x4F9B;&#x7EDF;&#x4E00;&#x7684;&#x914D;&#x7F6E;&#x7BA1;&#x7406;&#x670D;&#x52A1;,&#x662F;&#x4E00;&#x5957;&#x5B8C;&#x6574;&#x7684;&#x57FA;&#x4E8E; zookeeper &#x7684;&#x5206;&#x5E03;&#x5F0F;&#x914D;&#x7F6E;&#x7EDF;&#x4E00;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#x3002;</p>
<ul>
<li><a href="https://github.com/knightliao/disconf" target="_blank">GitHub</a></li>
</ul>
<h4 id="springcloudconfig">SpringCloudConfig</h4>
<ul>
<li><p><a href="https://github.com/spring-cloud/spring-cloud-config" target="_blank">GitHub</a></p>
<h4 id="apollo">Apollo</h4>
<p>Apollo&#xFF08;&#x963F;&#x6CE2;&#x7F57;&#xFF09;&#x662F;&#x643A;&#x7A0B;&#x6846;&#x67B6;&#x90E8;&#x95E8;&#x7814;&#x53D1;&#x7684;&#x5206;&#x5E03;&#x5F0F;&#x914D;&#x7F6E;&#x4E2D;&#x5FC3;&#xFF0C;&#x80FD;&#x591F;&#x96C6;&#x4E2D;&#x5316;&#x7BA1;&#x7406;&#x5E94;&#x7528;&#x4E0D;&#x540C;&#x73AF;&#x5883;&#x3001;&#x4E0D;&#x540C;&#x96C6;&#x7FA4;&#x7684;&#x914D;&#x7F6E;&#xFF0C;&#x914D;&#x7F6E;&#x4FEE;&#x6539;&#x540E;&#x80FD;&#x591F;&#x5B9E;&#x65F6;&#x63A8;&#x9001;&#x5230;&#x5E94;&#x7528;&#x7AEF;&#xFF0C;&#x5E76;&#x4E14;&#x5177;&#x5907;&#x89C4;&#x8303;&#x7684;&#x6743;&#x9650;&#x3001;&#x6D41;&#x7A0B;&#x6CBB;&#x7406;&#x7B49;&#x7279;&#x6027;&#xFF0C;&#x7528;&#x4E8E;&#x5FAE;&#x670D;&#x52A1;&#x914D;&#x7F6E;&#x7BA1;&#x7406;&#x573A;&#x666F;&#x3002;</p>
</li>
<li><p><a href="https://github.com/ctripcorp/apollo" target="_blank">GitHub</a></p>
</li>
</ul>
<h3 id="&#x6743;&#x9650;&#x8BA4;&#x8BC1;">&#x6743;&#x9650;&#x8BA4;&#x8BC1;</h3>
<p>&#x4F5C;&#x7528;&#xFF1A;&#x6839;&#x636E;&#x7CFB;&#x7EDF;&#x8BBE;&#x7F6E;&#x7684;&#x5B89;&#x5168;&#x89C4;&#x5219;&#x6216;&#x8005;&#x5B89;&#x5168;&#x7B56;&#x7565;,&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x8BBF;&#x95EE;&#x800C;&#x4E14;&#x53EA;&#x80FD;&#x8BBF;&#x95EE;&#x81EA;&#x5DF1;&#x88AB;&#x6388;&#x6743;&#x7684;&#x8D44;&#x6E90;&#xFF0C;&#x4E0D;&#x591A;&#x4E0D;&#x5C11;&#x3002;</p>
<h4 id="spring-security">Spring Security</h4>
<ul>
<li><p><a href="https://spring.io/projects/spring-security" target="_blank">&#x5B98;&#x7F51;</a></p>
<h4 id="apache-shiro">apache Shiro</h4>
<blockquote>
<p>Apache Shiro&#x2122; is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management. With Shiro&#x2019;s easy-to-understand API, you can quickly and easily secure any application &#x2013; from the smallest mobile applications to the largest web and enterprise applications.</p>
</blockquote>
</li>
<li><p><a href="http://shiro.apache.org/" target="_blank">&#x5B98;&#x7F51;</a></p>
</li>
</ul>
<h3 id="&#x6279;&#x5904;&#x7406;">&#x6279;&#x5904;&#x7406;</h3>
<p>&#x4F5C;&#x7528;: &#x6279;&#x91CF;&#x5904;&#x7406;&#x540C;&#x7C7B;&#x578B;&#x6570;&#x636E;&#x6216;&#x4E8B;&#x7269;</p>
<h4 id="spring-batch">Spring Batch</h4>
<ul>
<li><a href="&#x5B98;&#x7F51;">&#x5B98;&#x7F51; </a><h3 id="&#x5B9A;&#x65F6;&#x4EFB;&#x52A1;">&#x5B9A;&#x65F6;&#x4EFB;&#x52A1;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;: &#x5B9A;&#x65F6;&#x505A;&#x4EC0;&#x4E48;.</p>
<h4 id="quartz">Quartz</h4>
</blockquote>
</li>
<li><a href="http://www.quartz-scheduler.org/" target="_blank">&#x5B98;&#x7F51; </a></li>
</ul>
<h3 id="&#x5FAE;&#x670D;&#x52A1;&#x8C03;&#x7528;-&#x534F;&#x8BAE;">&#x5FAE;&#x670D;&#x52A1;&#x8C03;&#x7528; (&#x534F;&#x8BAE;)</h3>
<blockquote>
<p>&#x901A;&#x8BAF;&#x534F;&#x8BAE;</p>
<h4 id="rest">Rest</h4>
<ul>
<li>&#x901A;&#x8FC7; HTTP/HTTPS &#x53D1;&#x9001; Rest &#x8BF7;&#x6C42;&#x8FDB;&#x884C;&#x6570;&#x636E;&#x4EA4;&#x4E92;<h4 id="rpc">RPC</h4>
</li>
<li>Remote Procedure Call</li>
<li>&#x5B83;&#x662F;&#x4E00;&#x79CD;&#x901A;&#x8FC7;&#x7F51;&#x7EDC;&#x4ECE;&#x8FDC;&#x7A0B;&#x8BA1;&#x7B97;&#x673A;&#x7A0B;&#x5E8F;&#x4E0A;&#x8BF7;&#x6C42;&#x670D;&#x52A1;&#xFF0C;&#x800C;&#x4E0D;&#x9700;&#x8981;&#x4E86;&#x89E3;&#x5E95;&#x5C42;&#x7F51;&#x7EDC;&#x6280;&#x672F;&#x7684;&#x534F;&#x8BAE;&#x3002;RPC &#x4E0D;&#x4F9D;&#x8D56;&#x4E8E;&#x5177;&#x4F53;&#x7684;&#x7F51;&#x7EDC;&#x4F20;&#x8F93;&#x534F;&#x8BAE;&#xFF0C;tcp&#x3001;udp &#x7B49;&#x90FD;&#x53EF;&#x4EE5;&#x3002;</li>
</ul>
</blockquote>
<h4 id="grpc">gRPC</h4>
<ul>
<li><a href="https://www.grpc.io/" target="_blank">&#x5B98;&#x7F51; </a></li>
<li><blockquote>
<p>A high-performance, open-source universal RPC framework
&#x6240;&#x8C13; RPC(remote procedure call &#x8FDC;&#x7A0B;&#x8FC7;&#x7A0B;&#x8C03;&#x7528;) &#x6846;&#x67B6;&#x5B9E;&#x9645;&#x662F;&#x63D0;&#x4F9B;&#x4E86;&#x4E00;&#x5957;&#x673A;&#x5236;&#xFF0C;&#x4F7F;&#x5F97;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x4E4B;&#x95F4;&#x53EF;&#x4EE5;&#x8FDB;&#x884C;&#x901A;&#x4FE1;&#xFF0C;&#x800C;&#x4E14;&#x4E5F;&#x9075;&#x4ECE; server/client &#x6A21;&#x578B;&#x3002;&#x4F7F;&#x7528;&#x7684;&#x65F6;&#x5019;&#x5BA2;&#x6237;&#x7AEF;&#x8C03;&#x7528; server &#x7AEF;&#x63D0;&#x4F9B;&#x7684;&#x63A5;&#x53E3;&#x5C31;&#x50CF;&#x662F;&#x8C03;&#x7528;&#x672C;&#x5730;&#x7684;&#x51FD;&#x6570;&#x4E00;&#x6837;&#x3002;</p>
<h4 id="rmi">RMI</h4>
</blockquote>
</li>
<li>Remote Method Invocation</li>
<li>&#x7EAF; Java &#x8C03;&#x7528;</li>
</ul>
<h3 id="&#x670D;&#x52A1;&#x63A5;&#x53E3;&#x8C03;&#x7528;">&#x670D;&#x52A1;&#x63A5;&#x53E3;&#x8C03;&#x7528;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;&#xFF1A;&#x591A;&#x4E2A;&#x670D;&#x52A1;&#x4E4B;&#x95F4;&#x7684;&#x901A;&#x8BAF;</p>
<h4 id="feignhttp">Feign(HTTP)</h4>
<p>Spring Cloud Netflix &#x7684;&#x5FAE;&#x670D;&#x52A1;&#x90FD;&#x662F;&#x4EE5; HTTP &#x63A5;&#x53E3;&#x7684;&#x5F62;&#x5F0F;&#x66B4;&#x9732;&#x7684;&#xFF0C;&#x6240;&#x4EE5;&#x53EF;&#x4EE5;&#x7528; Apache &#x7684; HttpClient &#x6216; Spring &#x7684; RestTemplate &#x53BB;&#x8C03;&#x7528;&#xFF0C;&#x800C; Feign &#x662F;&#x4E00;&#x4E2A;&#x4F7F;&#x7528;&#x8D77;&#x6765;&#x66F4;&#x52A0;&#x65B9;&#x4FBF;&#x7684; HTTP &#x5BA2;&#x6236;&#x7AEF;&#xFF0C;&#x4F7F;&#x7528;&#x8D77;&#x6765;&#x5C31;&#x50CF;&#x662F;&#x8C03;&#x7528;&#x81EA;&#x8EAB;&#x5DE5;&#x7A0B;&#x7684;&#x65B9;&#x6CD5;&#xFF0C;&#x800C;&#x611F;&#x89C9;&#x4E0D;&#x5230;&#x662F;&#x8C03;&#x7528;&#x8FDC;&#x7A0B;&#x65B9;&#x6CD5;&#x3002;</p>
</blockquote>
<ul>
<li><a href="https://github.com/OpenFeign/feign" target="_blank">GitHub</a></li>
</ul>
<h3 id="&#x670D;&#x52A1;&#x7194;&#x65AD;">&#x670D;&#x52A1;&#x7194;&#x65AD;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;: &#x5F53;&#x8BF7;&#x6C42;&#x5230;&#x8FBE;&#x4E00;&#x5B9A;&#x9608;&#x503C;&#x65F6;&#x4E0D;&#x8BA9;&#x8BF7;&#x6C42;&#x7EE7;&#x7EED;.</p>
<h4 id="hystrix">Hystrix</h4>
<ul>
<li><blockquote>
<p>Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.</p>
</blockquote>
</li>
<li><p><a href="https://github.com/Netflix/Hystrix" target="_blank">GitHub</a></p>
</li>
</ul>
</blockquote>
<h4 id="sentinel">Sentinel</h4>
<ul>
<li><blockquote>
<p>A lightweight powerful flow control component enabling reliability and monitoring for microservices. (&#x8F7B;&#x91CF;&#x7EA7;&#x7684;&#x6D41;&#x91CF;&#x63A7;&#x5236;&#x3001;&#x7194;&#x65AD;&#x964D;&#x7EA7; Java &#x5E93;)</p>
</blockquote>
</li>
<li><a href="https://github.com/alibaba/Sentinel" target="_blank">GitHub</a></li>
</ul>
<h3 id="&#x670D;&#x52A1;&#x7684;&#x8D1F;&#x8F7D;&#x5747;&#x8861;">&#x670D;&#x52A1;&#x7684;&#x8D1F;&#x8F7D;&#x5747;&#x8861;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;:&#x964D;&#x4F4E;&#x670D;&#x52A1;&#x538B;&#x529B;,&#x589E;&#x52A0;&#x541E;&#x5410;&#x91CF;</p>
<h4 id="ribbon">Ribbon</h4>
<ul>
<li><blockquote>
<p>Spring Cloud Ribbon &#x662F;&#x4E00;&#x4E2A;&#x57FA;&#x4E8E; HTTP &#x548C; TCP &#x7684;&#x5BA2;&#x6237;&#x7AEF;&#x8D1F;&#x8F7D;&#x5747;&#x8861;&#x5DE5;&#x5177;,&#x5B83;&#x57FA;&#x4E8E; Netflix Ribbon &#x5B9E;&#x73B0;</p>
</blockquote>
</li>
<li><p><a href="https://github.com/Netflix/ribbon" target="_blank">GitHub</a></p>
<h4 id="nginx">Nginx</h4>
</li>
<li><blockquote>
<p>Nginx (engine x) &#x662F;&#x4E00;&#x4E2A;&#x9AD8;&#x6027;&#x80FD;&#x7684; HTTP &#x548C;&#x53CD;&#x5411;&#x4EE3;&#x7406; web &#x670D;&#x52A1;&#x5668;,&#x540C;&#x65F6;&#x4E5F;&#x63D0;&#x4F9B;&#x4E86; IMAP/POP3/SMTP &#x670D;&#x52A1;</p>
</blockquote>
</li>
</ul>
<ul>
<li><a href="https://github.com/nginx/nginx" target="_blank">GitHub</a><h4 id="nginx-&#x4E0E;-ribbon-&#x533A;&#x522B;">Nginx &#x4E0E; Ribbon &#x533A;&#x522B;</h4>
</li>
<li>Nginx &#x5C5E;&#x4E8E;&#x670D;&#x52A1;&#x7AEF;&#x8D1F;&#x8F7D;&#x5747;&#x8861;,Ribbon &#x5C5E;&#x4E8E;&#x5BA2;&#x6237;&#x7AEF;&#x8D1F;&#x8F7D;&#x5747;&#x8861;.Nginx &#x4F5C;&#x7528;&#x4E0E; Tomcat,Ribbon &#x4F5C;&#x7528;&#x4E0E;&#x5404;&#x4E2A;&#x670D;&#x52A1;&#x4E4B;&#x95F4;&#x7684;&#x8C03;&#x7528; (RPC)</li>
</ul>
</blockquote>
<h3 id="&#x6D88;&#x606F;&#x961F;&#x5217;">&#x6D88;&#x606F;&#x961F;&#x5217;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;: &#x89E3;&#x8026;&#x4E1A;&#x52A1;,&#x5F02;&#x6B65;&#x5316;&#x5904;&#x7406;&#x6570;&#x636E;</p>
<h4 id="kafka">Kafka</h4>
<ul>
<li><a href="http://kafka.apache.org/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="rabbitmq">RabbitMQ</h4>
</li>
<li><a href="https://www.rabbitmq.com/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="rocketmq">RocketMQ</h4>
</li>
<li><a href="http://rocketmq.apache.org/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="activemq">activeMQ</h4>
</li>
<li><a href="http://activemq.apache.org/" target="_blank">&#x5B98;&#x7F51; </a></li>
</ul>
</blockquote>
<h3 id="&#x65E5;&#x5FD7;&#x91C7;&#x96C6;-elk">&#x65E5;&#x5FD7;&#x91C7;&#x96C6; (elk)</h3>
<blockquote>
<p>&#x4F5C;&#x7528;:&#x6536;&#x96C6;&#x5404;&#x670D;&#x52A1;&#x65E5;&#x5FD7;&#x63D0;&#x4F9B;&#x65E5;&#x5FD7;&#x5206;&#x6790;&#x3001;&#x7528;&#x6237;&#x753B;&#x50CF;&#x7B49;</p>
<h4 id="elasticsearch">Elasticsearch</h4>
<ul>
<li><a href="https://github.com/elastic/elasticsearch" target="_blank">GitHub</a><h4 id="logstash">Logstash</h4>
</li>
<li><a href="https://github.com/elastic/logstash" target="_blank">GitHub</a><h4 id="kibana">Kibana</h4>
</li>
<li><a href="https://github.com/elastic/kibana" target="_blank">GitHub</a></li>
</ul>
</blockquote>
<h3 id="api-&#x7F51;&#x5173;">API &#x7F51;&#x5173;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;:&#x5916;&#x90E8;&#x8BF7;&#x6C42;&#x901A;&#x8FC7; API &#x7F51;&#x5173;&#x8FDB;&#x884C;&#x62E6;&#x622A;&#x5904;&#x7406;,&#x518D;&#x8F6C;&#x53D1;&#x5230;&#x771F;&#x6B63;&#x7684;&#x670D;&#x52A1;</p>
<h4 id="zuul">Zuul</h4>
<p>Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.</p>
<ul>
<li><a href="https://github.com/Netflix/zuul" target="_blank">GitHub</a></li>
</ul>
</blockquote>
<h3 id="&#x670D;&#x52A1;&#x76D1;&#x63A7;">&#x670D;&#x52A1;&#x76D1;&#x63A7;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;:&#x4EE5;&#x53EF;&#x89C6;&#x5316;&#x6216;&#x975E;&#x53EF;&#x89C6;&#x5316;&#x7684;&#x5F62;&#x5F0F;&#x5C55;&#x793A;&#x51FA;&#x5404;&#x4E2A;&#x670D;&#x52A1;&#x7684;&#x8FD0;&#x884C;&#x60C5;&#x51B5; (CPU&#x3001;&#x5185;&#x5B58;&#x3001;&#x8BBF;&#x95EE;&#x91CF;&#x7B49;)</p>
<h4 id="zabbix">Zabbix</h4>
<ul>
<li><a href="https://github.com/jjmartres/Zabbix" target="_blank">GitHub</a><h4 id="nagios">Nagios</h4>
</li>
<li><a href="https://www.nagios.org/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="metrics">Metrics</h4>
</li>
<li><a href="https://metrics.dropwizard.io" target="_blank">&#x5B98;&#x7F51; </a></li>
</ul>
</blockquote>
<h3 id="&#x670D;&#x52A1;&#x94FE;&#x8DEF;&#x8FFD;&#x8E2A;">&#x670D;&#x52A1;&#x94FE;&#x8DEF;&#x8FFD;&#x8E2A;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;:&#x660E;&#x786E;&#x670D;&#x52A1;&#x4E4B;&#x95F4;&#x7684;&#x8C03;&#x7528;&#x5173;&#x7CFB;</p>
<h4 id="zipkin">Zipkin</h4>
<ul>
<li><a href="https://github.com/openzipkin/zipkin" target="_blank">GitHub</a></li>
</ul>
</blockquote>
<h4 id="brave">Brave</h4>
<ul>
<li><a href="https://github.com/openzipkin/brave" target="_blank">GitHub</a></li>
</ul>
<h3 id="&#x6570;&#x636E;&#x5B58;&#x50A8;">&#x6570;&#x636E;&#x5B58;&#x50A8;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;: &#x5B58;&#x50A8;&#x6570;&#x636E;</p>
<h4 id="&#x5173;&#x7CFB;&#x578B;&#x6570;&#x636E;&#x5E93;">&#x5173;&#x7CFB;&#x578B;&#x6570;&#x636E;&#x5E93;</h4>
<h5 id="mysql">MySql</h5>
<ul>
<li><a href="https://www.mysql.com/" target="_blank">&#x5B98;&#x7F51; </a><h5 id="oracle">Oracle</h5>
</li>
<li><a href="https://www.oracle.com/index.html" target="_blank">&#x5B98;&#x7F51; </a><h5 id="mssql">MsSql</h5>
</li>
<li><a href="https://docs.microsoft.com/zh-cn/sql/?view=sql-server-ver15" target="_blank">&#x5B98;&#x7F51; </a><h5 id="postgresql">PostgreSql</h5>
</li>
<li><a href="https://www.postgresql.org/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="&#x975E;&#x5173;&#x7CFB;&#x578B;&#x6570;&#x636E;&#x5E93;">&#x975E;&#x5173;&#x7CFB;&#x578B;&#x6570;&#x636E;&#x5E93;</h4>
<h5 id="mongodb">Mongodb</h5>
</li>
<li><a href="https://www.mongodb.com/" target="_blank">&#x5B98;&#x7F51; </a><h5 id="elasticsearch">Elasticsearch</h5>
</li>
<li><a href="https://github.com/elastic/elasticsearch" target="_blank">GitHub</a><h3 id="&#x7F13;&#x5B58;">&#x7F13;&#x5B58;</h3>
&#x4F5C;&#x7528;: &#x5B58;&#x50A8;&#x6570;&#x636E;<h4 id="redis">redis</h4>
</li>
<li><a href="https://redis.io/" target="_blank">&#x5B98;&#x7F51; </a></li>
</ul>
</blockquote>
<h3 id="&#x5206;&#x5E93;&#x5206;&#x8868;">&#x5206;&#x5E93;&#x5206;&#x8868;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;: &#x6570;&#x636E;&#x5E93;&#x5206;&#x5E93;&#x5206;&#x8868;&#x65B9;&#x6848;.</p>
<h4 id="shardingsphere">shardingsphere</h4>
<ul>
<li><a href="http://shardingsphere.apache.org/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="mycat">Mycat</h4>
</li>
<li><a href="http://www.mycat.io/" target="_blank">&#x5B98;&#x7F51; </a></li>
</ul>
</blockquote>
<h3 id="&#x670D;&#x52A1;&#x90E8;&#x7F72;">&#x670D;&#x52A1;&#x90E8;&#x7F72;</h3>
<blockquote>
<p>&#x4F5C;&#x7528;: &#x5C06;&#x9879;&#x76EE;&#x5FEB;&#x901F;&#x90E8;&#x7F72;&#x3001;&#x4E0A;&#x7EBF;&#x3001;&#x6301;&#x7EED;&#x96C6;&#x6210;.</p>
<h4 id="docker">Docker</h4>
<ul>
<li><a href="http://www.docker.com/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="jenkins">Jenkins</h4>
</li>
<li><a href="https://jenkins.io/zh/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="kubernetesk8s">Kubernetes(K8s)</h4>
</li>
<li><a href="https://kubernetes.io/" target="_blank">&#x5B98;&#x7F51; </a><h4 id="mesos">Mesos</h4>
</li>
<li><a href="http://mesos.apache.org/" target="_blank">&#x5B98;&#x7F51; </a></li>
</ul>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="huifer-micro-service-governance.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 微服务治理策略">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"你所知道的微服务技术栈都有哪些？","level":"5.6","depth":1,"next":{"title":"微服务治理策略","level":"5.7","depth":1,"path":"micro-services/huifer-micro-service-governance.md","ref":"micro-services/huifer-micro-service-governance.md","articles":[]},"previous":{"title":"微服务的优缺点分别是什么？说一下你在项目开发中碰到的坑？","level":"5.5","depth":1,"ref":"","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"micro-services/huifer-micro-services-technology-stack.md","mtime":"2019-12-30T01:36:31.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-01-08T09:33:59.173Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

